<!DOCTYPE html>
<html ng-app="myApp">

<head>
    <meta charset="utf-8">
    <title>
        webpack-tool
    </title>
    <link rel="stylesheet" href="../lib/normalize.css">
    <style>
        button {
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            background-image: linear-gradient(-90deg, #21AFF3 0%, #2196F3 100%);
            border: 0;
            border-radius: 48px;
            padding: 20px 40px;
            cursor: pointer;
            user-select: none;
        }

        textarea {
            /*width: calc(100% - 10px);*/
            resize: none;
            /*height: calc(100% - 80px);*/
            opacity: 0;
            position: fixed;
            left: 0;
            top: 0;
            width: 0;
            height: 0;
            z-index: -1;
            user-select: none;
        }
        tt{
            z-index: 0;
            user-select: none;
        }
        .mod{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            background-color: rgba(0, 0, 0, 0.31);
        }
    </style>
</head>
<body ng-app="myApp" ng-controller="AppController as vm">
<button type="button" ng-click="vm.copyStyle(vm.styles)">复制到剪贴板</button>
<textarea id="styles" ng-bind="vm.styles"></textarea>
<tt ng-bind="vm.styles"></tt>
<div class="mod"></div>
<script src="../lib/layer/layer.js"></script>
<script src="../lib/angular.min.js"></script>
</body>
</html>